using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class Job
    {
        public Job()
        {
            this.Apbtchdts = new List<Apbtchdt>();
            this.Batchdets = new List<Batchdet>();
            this.Gls = new List<Gl>();
            this.Jcs = new List<Jc>();
        }

        public short ID { get; set; }
        public string JOBNO { get; set; }
        public string DESC { get; set; }
        public string File_Primary_Key { get; set; }
        public short CURRENCY { get; set; }
        public short CostTypeId { get; set; }
        public System.DateTime StartDate { get; set; }
        public System.DateTime EndDate { get; set; }
        public double EstExpenses { get; set; }
        public double EstRevenues { get; set; }
        public byte PercentComplete { get; set; }
        public int Project { get; set; }
        public Nullable<bool> Inactive { get; set; }
        public virtual ICollection<Apbtchdt> Apbtchdts { get; set; }
        public virtual ICollection<Batchdet> Batchdets { get; set; }
        public virtual CostType CostType { get; set; }
        public virtual ICollection<Gl> Gls { get; set; }
        public virtual ICollection<Jc> Jcs { get; set; }
        public virtual Project Project1 { get; set; }
    }
}
